<?php ob_start();
		$internal_lng = $this->listing->getInternalLanguage();
?>
    <?php //if (!empty($this->listing->street)) {echo $this->dtDd($this->t('Address', $internal_lng), $this->listing->street);}?>
    <?php if (!empty($this->listing->total_size)) {echo $this->dtDd($this->t('Total Size', $internal_lng), $this->t('__1__ sqft', $internal_lng, number_format($this->listing->total_size)));}?>
    <?php if (!empty($this->listing->size)) {echo $this->dtDd($this->t('Size', $internal_lng), $this->t('__1__ sqft', $internal_lng, number_format($this->listing->size)));}?>
    <?php if (!empty($this->listing->building_age)) { echo $this->dtDd($this->t('Building Age', $internal_lng), $this->t('__1__ years', $internal_lng, $this->listing->building_age));}?>
    <?php /*if (!empty($this->listing->property_type)) { echo $this->dtDd($this->t('Property Type', $internal_lng), $this->t('__1__', $internal_lng, $this->listing->property_type));}*/?>
    <?php if (!empty($this->listing->floor_zone)) { echo $this->dtDd($this->t('Ground Zone', $internal_lng), $this->listing->floor_zone);}?>
    <?php
    if (!empty($this->listing->property_type) || $this->listing->property_type == 0) {
//	if (true) {
        $i          = 0;
        $field      = '';
        $views = Model_Listing_Commercial::getPropertyType();
        $to_add     = '';
        $field = $this->t($views[$this->listing->property_type], $internal_lng);
        echo $this->dtDd($this->t('Property Type', $internal_lng), $field);
    }
    ?>
    <?php
    if (!empty($this->listing->floor_zone)) {
        $i          = 0;
        $field      = '';
        $views = Model_Listing_Commercial::getFloorZone();
        $to_add     = '';
        $field = $this->t($views[$this->listing->floor_zone], $internal_lng);
        echo $this->dtDd($this->t('Floor Zone', $internal_lng), $field);
    }
    ?>
    <?php
    if (!empty($this->listing->fitoutconditions)) {
        $i          = 0;
        $field      = '';
        $views = Model_Listing_Commercial::getFitoutConditions();
        $to_add     = '';
        foreach ($this->listing->fitoutconditions as $data) {
            $field .= $to_add . $this->t($views[$data], $internal_lng);
            $i++;
            $to_add = ', ';
        }
        echo $this->dtDd($this->t('Fit-Out Conditions', $internal_lng), $field);
    }
    ?>

    <?php
    if (!empty($this->listing->views)) {
        $i          = 0;
        $field      = '';
        $views = Model_Listing_Commercial::getViews();
        $to_add     = '';
        foreach ($this->listing->views as $data) {
            $field .= $to_add . $this->t($views[$data], $internal_lng);
            $i++;
            $to_add = ', ';
        }
        echo $this->dtDd($this->t('View', $internal_lng), $field);
    }
    ?>

    <?php
    if (!empty($this->listing->toilet)) {
        $i          = 0;
        $field      = '';
        $views = Model_Listing_Commercial::getToilet();
        $to_add     = '';
        foreach ($this->listing->toilet as $data) {
            $field .= $to_add . $this->t($views[$data], $internal_lng);
            $i++;
            $to_add = ', ';
        }
        echo $this->dtDd($this->t('Toilet', $internal_lng), $field);
    }
    ?>

    <?php
    if (!empty($this->listing->availability)) {
        $i          = 0;
        $field      = '';
        $views = Model_Listing_Commercial::getAvailability();
        $to_add     = '';
        foreach ($this->listing->availability as $data) {
            $field .= $to_add . $this->t($views[$data], $internal_lng);
            $i++;
            $to_add = ', ';
        }
        echo $this->dtDd($this->t('Availability', $internal_lng), $field);
    }
    ?>

    <?php
    if (!empty($this->listing->airconsystem)) {
        $i          = 0;
        $field      = '';
        $views = Model_Listing_Commercial::getAirConditioningSystem();
        $to_add     = '';
        foreach ($this->listing->airconsystem as $data) {
            $field .= $to_add . $this->t($views[$data], $internal_lng);
            $i++;
            $to_add = ', ';
        }
        echo $this->dtDd($this->t('Air Conditioning System', $internal_lng), $field);
    }
    ?>

    <?php if (!empty($this->listing->management_fee)) { echo $this->dtDd($this->t('Management Fee', $internal_lng), $this->t('HKD __1__', null, $this->listing->management_fee));}?>
    <?php if (!empty($this->listing->government_fee)) { echo $this->dtDd($this->t('government Rate', $internal_lng), $this->t('HKD __1__', null, $this->listing->government_fee));}?>


    <?php
    if (!empty($this->listing->buildingfacilities)) {
        $i          = 0;
        $field      = '';
        $views = Model_Listing_Commercial::getBuildingFacilities();
        $to_add     = '';
        foreach ($this->listing->buildingfacilities as $data) {
            $field .= $to_add . $this->t($views[$data], $internal_lng);
            $i++;
            $to_add = ', ';
        }
        echo $this->dtDd($this->t('Building Facilities', $internal_lng), $field);
    }
    ?>

    <?php
    if (!empty($this->listing->carparkingfacilities)) {
        $i          = 0;
        $field      = '';
        $views = Model_Listing_Commercial::getCarparkingFacilities();
        $to_add     = '';
        foreach ($this->listing->carparkingfacilities as $data) {
            $field .= $to_add . $this->t($views[$data], $internal_lng);
            $i++;
            $to_add = ', ';
        }
        echo $this->dtDd($this->t('Carparking Facilities', $internal_lng), $field);
    }
    ?>
    <?php
    if (!empty($this->listing->ownership)) {
        $i          = 0;
        $field      = '';
        $views = Model_Listing_Commercial::getOwnerShip();
        $field = $this->t($views[$this->listing->ownership], $internal_lng);
        echo $this->dtDd($this->t('Ownership', $internal_lng), $field);
    }
    ?>
    <?php
    if (!empty($this->listing->numberstores)) {
        $i          = 0;
        $field      = '';
        $views = Model_Listing_Commercial::getNumberofStores();
        $field = $views[$this->listing->numberstores];
        echo $this->dtDd($this->t('Number of Stories', $internal_lng), $field);
    }
    ?>


    <?php if (!empty($this->listing->typicalfloorarea)) { echo $this->dtDd($this->t('Typical Floor Area', $internal_lng), $this->t('__1__ sqft', null, number_format($this->listing->typicalfloorarea)));}?>

    <?php
    if (!empty($this->listing->flooringsystem)) {
        $i          = 0;
        $field      = '';
        $views = Model_Listing_Commercial::getFlooringSystem();
        $field = $this->t($views[$this->listing->flooringsystem], $internal_lng);
        echo $this->dtDd($this->t('Flooring System', $internal_lng), $field);
    }
    ?>

    <?php if (!empty($this->listing->ceilingheight)) { echo $this->dtDd($this->t('Ceiling Height', $internal_lng), $this->listing->ceilingheight);}?>
    <?php if (!empty($this->listing->passengelifts)) { echo $this->dtDd($this->t('No of Passenge Lifts', $internal_lng), $this->listing->passengelifts);}?>
    <?php if (!empty($this->listing->servicelifts)) { echo $this->dtDd($this->t('No of Service Lifts', $internal_lng), $this->listing->servicelifts);}?>
    <?php if (!empty($this->listing->airconhoursweek)) { echo $this->dtDd($this->t('Air Conditioning Hours (Mon-Fri)', $internal_lng), $this->listing->airconhoursweek);}?>
    <?php if (!empty($this->listing->airconhourssaturday)) { echo $this->dtDd($this->t('Air Conditioning Hours (Saturday)', $internal_lng), $this->listing->airconhourssaturday);}?>
    
<?php $content = trim(ob_get_clean())?>
<?php if (!empty($content)):?>
<section class="category">
    <div id="detail_content_text_category" class="info">
        <h3><?php echo $this->t('Property Information', $internal_lng)?></h3>
        <dl>
            <?php echo $content ?>
        </dl>
    </div>
</section>
<?php endif;?>
